package com.netease.b.b.d;

import com.netease.a.b.g;
import com.netease.c.b.c;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import org.apache.http.NameValuePair;

public class e extends c
{
  public e(a parama, String paramString, com.netease.c.b.d paramd)
  {
    super(paramString, paramd);
    this.e = paramString;
  }

  public e(a parama, String paramString, com.netease.framework.a.b paramb, com.netease.c.b.d paramd)
  {
    super(paramString, paramb, paramd);
    this.e = paramString;
  }

  public void a()
  {
    ArrayList localArrayList1 = new ArrayList();
    List localList = k();
    if (localList != null)
    {
      Iterator localIterator2 = localList.iterator();
      while (localIterator2.hasNext())
      {
        com.netease.framework.a.h localh = (com.netease.framework.a.h)localIterator2.next();
        localArrayList1.add(new com.netease.c.b.b(localh.a(), localh.b()));
      }
    }
    if (this.d.d != null)
      localArrayList1.add(new com.netease.c.b.b("oauth_token", this.d.d));
    localArrayList1.add(new com.netease.c.b.b("oauth_consumer_key", this.d.a));
    localArrayList1.add(new com.netease.c.b.b("oauth_signature_method", this.d.a()));
    localArrayList1.add(new com.netease.c.b.b("oauth_version", "1.0"));
    localArrayList1.add(new com.netease.c.b.b("oauth_timestamp", String.valueOf(System.currentTimeMillis() / 1000L)));
    localArrayList1.add(new com.netease.c.b.b("oauth_nonce", String.valueOf(System.currentTimeMillis() + Math.abs(c.nextLong()))));
    String str = a(o().toString(), super.b(), localArrayList1);
    localArrayList1.add(new com.netease.c.b.b("oauth_signature", this.d.b().a(str)));
    ArrayList localArrayList2 = new ArrayList();
    Iterator localIterator1 = localArrayList1.iterator();
    while (localIterator1.hasNext())
    {
      com.netease.c.b.b localb = (com.netease.c.b.b)localIterator1.next();
      localArrayList2.add(new g(localb.getName(), localb.getValue(), "UTF-8"));
    }
    try
    {
      localArrayList2.add(new com.netease.a.b.b("pic", new File(a.a(this.i))));
      com.netease.a.b.a[] arrayOfa = new com.netease.a.b.a[localArrayList2.size()];
      localArrayList2.toArray(arrayOfa);
      a(new com.netease.a.b.h(arrayOfa));
      return;
    }
    catch (FileNotFoundException localFileNotFoundException)
    {
      while (true)
        localFileNotFoundException.printStackTrace();
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.b.b.d.e
 * JD-Core Version:    0.6.0
 */